package com.lt73.springplugin.autowired.service.impl;

import com.lt73.springplugin.autowired.service.IPerson;
import org.springframework.stereotype.Component;

/**
 * @Author: hanxiao
 * @Date: 2022/3/18 17:50
 */
@Component("teacher")
public class TeacherImpl implements IPerson {

    @Override
    public void doWork() {
        System.out.println("I am teaching");
    }

}